package com.winit.usTask.service;

import com.winit.common.base.bean.ExecuteResult;
import com.winit.params.model.Params;
import com.winit.usTask.model.UsTask;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by wanglin on 2018/6/4.
 */
public interface UsTaskService {
    void initUschedule();

    ExecuteResult getGroups(String type);

    ExecuteResult getTasks(String type,String group);

    UsTask getTaskNameAndSys(String name,String group);

    ExecuteResult runUsTask( String ip,String post,String sys,String taskName,String uId);
}
